import requests

# url = "https://fanyi.baidu.com/sug"
url = "https://fanyi.baidu.com/sug"

data = {
    'kw': input('请输入一个单词')
}

req = requests.post(url, data=data)
print(req.text)
print(req.json()['data'])
